package com.service;

import com.mapper.F_inforDao;
import com.util.C_infor;
import com.util.F_infor;
import com.util.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class F_inforService {
    @Resource
    private F_inforDao f_inforDao;

    public F_infor see(String p_id){
        F_infor f_infor=new F_infor();
        f_infor.setpId(p_id);
        return f_inforDao.select(f_infor);
    }
    public Result<?> changInfor(F_infor f_infor){
        f_inforDao.updateInfor(f_infor);
        Result result=new Result();
        Result r=result.success(result);
        return r;
    }
}
